Skip to content

Conversation

@josevalim
Copy link
Member

No description provided.

# we want to do it inside the task too. Modules being deleted
# are uncommon, so this optimizes the common case.
{mod,
Code.ensure_loaded?(mod) and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't that effectively synchronize on code_server?

Copy link
Member Author

@josevalim josevalim Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code loading happens mostly on the caller since Erlang/OTP 26, serializing only if there are on_load callbacks.

@josevalim
Copy link
Member Author

Closing in favor of #14006.

@josevalim josevalim closed this Nov 21, 2024
@josevalim josevalim deleted the jv-load-parallel branch November 21, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants